home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 413_01 / sndblst4 / readme.doc < prev    next >
Text File  |  1993-12-10  |  5KB  |  111 lines

  1.  
  2. This is not part of the Sound Blaster Freedom Project (SBFP), although it has
  3. the exact same goal:
  4.  
  5.   To provide a cheap (free) source of programming information for the
  6.   Sound Blaster and compatables.
  7.  
  8. Where this differs from the SBFP:
  9.   I have provided a programming specification for the Sound Blaster and Sound
  10. Blaster Pro (DSP DAC/ADC only).  I have included some info and code on
  11. programming for the PC Speaker.  I have included programming specs for various
  12. chips available to all PC compatables (PIC, PIT, DMAC, etc).  The source is
  13. intended to be a basic example, high speed ADC/DAC is not demonstrated, nor is
  14. use of DMA channels other than 1, nor the use of I/O base addresses other
  15. than 220h.  As a result the amount of source is smaller than that of the
  16. SBFP and less versatile.
  17.  
  18. Files included:
  19. README.DOC      This file
  20. PROGSPEC.DOC    A complete DSP ADC/DAC programming specification for the
  21.                 Sound Blaster and Sound Blaster Pro (and compatables).
  22. REF.DOC         Programming specs for PC compatable peripheral components
  23.                 (PIT, PIC, DMAC, etc)
  24. SPEAKER.DOC     Describes the theory behind a method used to play good quality
  25.                 sounds out of the PC Speaker.
  26. SB.H            Include file for library functions
  27. SBC.C           Source for library functions
  28. SBINFO.C        Source for SBINFO.EXE
  29. RAWIN.C         Source for RAWIN.EXE
  30. RAWOUT.C        Source for RAWOUT.EXE
  31. WAVEINFO.C      Source for WAVEINFO.EXE
  32. WAVE.C          Source for WAVE.EXE
  33. RWAVE.C         Source for RWAVE.EXE
  34. VOCINFO.C       Source for VOCINFO.EXE
  35. VOICE.C         Source for VOICE.EXE
  36. SPEAKER.C       Source for SPEAKER.EXE
  37. SBINFO.EXE      Tests I/O address 220h reads DSP version and mixer settings
  38.                 for the Sound Blaster Pro
  39. RAWIN.EXE       Records (ADC) 65000 bytes to specified file at specified
  40.                 sampling rate.
  41. RAWOUT.EXE      Plays (DAC) specified file at specified sampling rate.
  42. WAVEINFO.EXE    Reads and displays information about a .WAV file
  43. WAVE.EXE        Plays (DAC) a .WAV file
  44. RWAVE.EXE       Records (ADC) 65000 bytes to a .WAV file
  45. VOCINFO.EXE     Reads and displays information about a .VOC file
  46. VOICE.EXE       Plays (DAC) a .VOC file
  47. SPEAKER.EXE     Plays raw files out the PC Speaker
  48. MAKEFILE        The makefile for compiling the above exes
  49.  
  50. Notes:
  51.  
  52. All programs were compiled with Borland C 3.1.
  53. I tested these programs on a generic 486DX2-66 EISA machine using a borrowed
  54. Sound Blaster 2.0 and a Sound Blaster Pro.
  55.  
  56. SBINFO reported ver 2.1 for the Sound Blaster 2.0
  57. SBINFO reported ver 3.2 for the Sound Blaster Pro
  58. Any comments or findings would be appreciated...
  59. RWAVE and WAVE added support for the Pro, I had a CD Player connected to
  60. line-in and speakers on line out.  To record I had to set the input to line-in
  61. of course, and set the line-in volume.  When the line-in is selected and the
  62. line-in volume is up, the input goes straight to the output (Speakers), that
  63. is kind of annoying, is there anyway around it?
  64. Any comments or findings would be appreciated...
  65.  
  66. You are welcome to this information free of charge, I do require that you
  67. do not attempt to sell the procedures (compiled or source).  I also require
  68. that if you distribute this package, you distribute it as a whole.  If you
  69. write your own programs based on these examples, I have no claims to them.
  70.  
  71. Please report bugs.
  72.  
  73. Availability:
  74.  
  75. This package sndblst4.zip will be posted on SimTel:
  76.   oak.oakland.edu:pub/msdos/sound/sndblst4.zip
  77.  
  78. It will also be posted on Waterfront West BBS (505) 523-4528
  79.  
  80. Where I can be reached:
  81.  
  82. I can be reached via e-mail (on my brothers account) swelch@nmsu.edu
  83.  
  84. Current address:
  85. David Welch
  86. 2049 Triviz #G-17
  87. Las Cruces, NM 88001
  88.  
  89. References:
  90.     The Sound Blaster Freedom Project, (available via ftp on a SimTel mirror)
  91.       oak.oakland.edu:pub/msdos/sound/sbf2.zip, the latest version sbf3.zip
  92.       should be there any time now.
  93.  
  94.     Sound Blaster:  The Official Book, by Richard Heimlich et. al.,
  95.     pub. Osborne/McGraw-Hill, ISBN 0-07-881907-5, $29.95
  96.  
  97.     The Sound Blaster Developers Kit, by Creative Labs, Inc., $125++
  98.  
  99.     Intel 486 MicroComputer Model 401 Board Technical Reference Manual, by
  100.     Intel, order number 504366-002
  101.  
  102.     System BIOS for IBM PCs, Compatables, and EISA Computers  Second Edition,
  103.     by Pheonix Technologies Ltd.,  pub. Addison-Wesley, ISBN 0-201-57760-7,
  104.     $26.95
  105.  
  106.     Peripheral Components Data Book (1991), by Intel, available from Intel,
  107.     order number 296467-002, ISBN 1-55512-127-6
  108.  
  109.     MS-DOS Batch Files  2nd ed., Microsoft Press, ISBN 1-55615-338-4, $7.95
  110.  
  111.